package com.gitee.absolute_spirit.hiot_android.ui.ir

import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.collectAsState
import androidx.hilt.navigation.compose.hiltViewModel
import com.gitee.absolute_spirit.hiot_android.NavigateArgs

@Composable
fun InfraredRemoteController(
    infraredRemoteControllerModel: InfraredRemoteControllerModel = hiltViewModel(),
) {
    val args = infraredRemoteControllerModel.navigateArgsModel.collectAsState(initial = NavigateArgs.getDefaultInstance()).value
    Text(text = "id: ${args.id}, type: ${args.type}")
}